@charset "UTF-8";
/*
这是每个都组件都应该引用的部分
*/
.oni-smartgrid {
  font-size: 12px;
  line-height: 20px;
  position: relative;
  opacity: 0;
  /* IE 8 */
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  /* IE 5-7 */
  filter: alpha(opacity=0);
  /*三种容器的规则*/
  /*三种容器下三角形的共同点*/
  /*上三角*/
  /*下三角*/ }
  .oni-smartgrid .oni-helper-asc, .oni-smartgrid .oni-helper-desc, .oni-smartgrid .oni-helper-ndb {
    width: 12px;
    height: 12px;
    line-height: 1;
    display: inline-block;
    vertical-align: middle;
    *display: inline;
    *zoom: 1;
    *vertical-align: auto;
    position: relative;
    cursor: pointer; }
  .oni-smartgrid .oni-helper-asc span, .oni-smartgrid .oni-helper-desc span, .oni-smartgrid .oni-helper-ndb span {
    position: absolute;
    top: 0px;
    left: 4px; }
  .oni-smartgrid .oni-helper-ndb .oni-helper-sort-top, .oni-smartgrid .oni-helper-desc .oni-helper-sort-top {
    width: 0;
    height: 0;
    line-height: 0;
    font-size: 0;
    border-top: 0 none;
    border-right: 6px dashed transparent;
    border-bottom: 6px solid #ccc;
    border-left: 6px dashed transparent;
    top: 0px;
    left: 0px; }
  .oni-smartgrid .oni-helper-asc .oni-helper-sort-top {
    width: 0;
    height: 0;
    line-height: 0;
    font-size: 0;
    border-top: 0 none;
    border-right: 6px dashed transparent;
    border-bottom: 6px solid #000;
    border-left: 6px dashed transparent;
    top: 0px;
    left: 0px; }
  .oni-smartgrid .oni-helper-ndb .oni-helper-sort-bottom, .oni-smartgrid .oni-helper-asc .oni-helper-sort-bottom {
    width: 0;
    height: 0;
    line-height: 0;
    font-size: 0;
    border-top: 6px solid #ccc;
    border-right: 6px dashed transparent;
    border-bottom: 0;
    border-left: 6px dashed transparent;
    top: 8px;
    left: 0px; }
  .oni-smartgrid .oni-helper-desc .oni-helper-sort-bottom {
    width: 0;
    height: 0;
    line-height: 0;
    font-size: 0;
    border-top: 6px solid #000;
    border-right: 6px dashed transparent;
    border-bottom: 0;
    border-left: 6px dashed transparent;
    top: 8px;
    left: 0px; }
  .oni-smartgrid .oni-pager {
    float: right; }
  .oni-smartgrid input {
    margin: 0; }

.oni-smartgrid-hide {
  display: none; }

.oni-smartgrid-hover {
  background-color: #e8f5fd; }

.oni-smartgrid-selected {
  background-color: #fff7e6; }

.oni-smartgrid-disabled {
  color: #ccc;
  background: #fff; }

.oni-smartgrid-hidden input {
  visibility: hidden; }

.oni-smartgrid-main-wrapper {
  position: relative;
  overflow-x: auto;
  _width: 100%;
  border: 1px solid #e5e5e5; }

.oni-smartgrid-header {
  background-color: #f8f8f8;
  border-bottom: 1px solid #e5e5e5;
  zoom: 1; }
  .oni-smartgrid-header-fixed {
    background-color: #f8f8f8;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    z-index: 1; }

.oni-smartgrid-body-wrapper {
  overflow-y: auto;
  zoom: 1; }
  .oni-smartgrid-body-wrapper .oni-smartgrid-body {
    background: #fff; }
    .oni-smartgrid-body-wrapper .oni-smartgrid-body .oni-smartgrid-nodata {
      padding: 23px 0;
      text-align: center;
      line-height: 15px; }

.oni-smartgrid-footer {
  background-color: #f8f8f8;
  font-size: 0;
  border: 1px solid #e5e5e5;
  border-width: 0 1px; }
  .oni-smartgrid-footer .oni-smartgrid-pager-wrapper {
    width: 100%;
    padding: 5px 0px;
    overflow: hidden;
    border: 1px solid #e5e5e5;
    border-width: 0 0 1px; }

.oni-smartgrid-row {
  border-bottom: 1px solid #f3f3f3;
  font-size: 0; }

.oni-smartgrid-column {
  font-size: 12px;
  display: inline-block;
  vertical-align: middle;
  *display: inline;
  *zoom: 1;
  *vertical-align: auto;
  overflow: hidden; }
  .oni-smartgrid-column-cell {
    padding: 7px 5px;
    word-wrap: break-word;
    word-break: normal; }

.oni-smartgrid-pager-options {
  float: left;
  height: 26px;
  line-height: 26px;
  padding-left: 5px;
  font-size: 12px; }
  .oni-smartgrid-pager-options .oni-smartgrid-showinfo {
    display: inline-block;
    vertical-align: middle;
    *display: inline;
    *zoom: 1;
    *vertical-align: auto; }
  .oni-smartgrid-pager-options .oni-dropdown {
    margin: 0 5px; }

/*列设置*/
.oni-smartgrid-handler-wrap {
  display: inline-block;
  vertical-align: middle;
  *display: inline;
  *zoom: 1;
  *vertical-align: auto;
  position: relative;
  z-index: 1;
  text-align: left;
  font-size: 12px; }
  .oni-smartgrid-handler-wrap-right .oni-smartgrid-handler {
    left: auto;
    right: 0; }
  .oni-smartgrid-handler-wrap .oni-smartgrid-handler-toggle {
    width: 24px;
    height: 24px;
    border: 1px #ccc solid;
    border-radius: 2px;
    cursor: pointer;
    text-align: center;
    line-height: 28px;
    outline: none;
    background: #f8f8f8 url(http://7xkm02.com1.z0.glb.clouddn.com/smartgridsetting.png) no-repeat center;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none; }
    .oni-smartgrid-handler-wrap .oni-smartgrid-handler-toggle-active {
      border-color: #3775c0; }

.oni-smartgrid-handler {
  position: absolute;
  top: 25px;
  left: 0;
  width: 290px;
  background-color: #fff;
  border: 1px solid #ccc; }
  .oni-smartgrid-handler .oni-smartgrid-handler-mode {
    padding: 9px 10px;
    line-height: 14px;
    border-bottom: 1px #f2f2f2 solid;
    color: #0084bb; }
    .oni-smartgrid-handler .oni-smartgrid-handler-mode .oni-smartgrid-handler-mode-item {
      display: inline-block;
      vertical-align: middle;
      *display: inline;
      *zoom: 1;
      *vertical-align: auto;
      margin: 0 10px 0 0;
      cursor: pointer;
      -webkit-touch-callout: none;
      -webkit-user-select: none;
      -moz-user-select: none;
      user-select: none; }
    .oni-smartgrid-handler .oni-smartgrid-handler-mode-active {
      font-weight: bold; }
  .oni-smartgrid-handler .oni-smartgrid-handler-list {
    margin: 0;
    padding: 9px 10px;
    list-style: none;
    overflow: hidden; }
    .oni-smartgrid-handler .oni-smartgrid-handler-list .oni-smartgrid-handler-name {
      display: inline-block;
      vertical-align: middle;
      *display: inline;
      *zoom: 1;
      *vertical-align: auto;
      max-width: 110px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap; }
    .oni-smartgrid-handler .oni-smartgrid-handler-list .checkbox {
      display: inline-block;
      vertical-align: middle;
      *display: inline;
      *zoom: 1;
      *vertical-align: auto;
      margin-left: 0;
      cursor: pointer;
      *vertical-align: -3px; }
    .oni-smartgrid-handler .oni-smartgrid-handler-list-item {
      float: left;
      width: 135px;
      height: 20px;
      line-height: 20px; }
      .oni-smartgrid-handler .oni-smartgrid-handler-list-item label {
        display: inline-block;
        vertical-align: middle;
        *display: inline;
        *zoom: 1;
        *vertical-align: auto;
        cursor: pointer; }
  .oni-smartgrid-handler .oni-smartgrid-handler-ope {
    padding: 4px 5px;
    text-align: right;
    background-color: #f8f8f8;
    font-size: 0; }
    .oni-smartgrid-handler .oni-smartgrid-handler-ope .oni-button {
      margin-left: 5px; }

.oni-smartgrid-handler-wrap-right .oni-smartgrid-handler {
  left: auto;
  right: 0; }
